﻿using System.Web.Mvc;
using MvcForum.Net.Business;
using MvcForum.Net.Configuration;
using MvcForum.Net.Utils;

namespace MvcForum.Net.Mvc
{
    public abstract class BaseController : Controller
    {

        protected ForumConfiguration Configuration
        {
            get
            {
                return ForumConfiguration.Instance;
            }
        }

       

        protected void SetAuthenticationCookie(string data, bool isPersit)
        {

            ForumContext.SetAuthenticationCookie(data, isPersit);

        }

    }
}
